home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc™ Source Code / Dialogs / LnkDlgEx.r < prev   
Encoding:
Text File  |  1996-08-28  |  30.2 KB  |  1,222 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        LnkDlgEx.r
  3.  
  4.     Contains:    resources for data interchange dialogs
  5.  
  6.     Owned by:    Craig Carper
  7.  
  8.     Copyright:    © 1994 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <4>      7/8/96    eeh        undo task 10008 (AppleGuide buttons)
  13.          <3>     6/21/96    eeh        task 10008: add buttons etc. for AppleGuide
  14.          <2>      6/7/96    eeh        T10017: tweak
  15.          <0>     6/7/96    eeh        first checked in (based on LinkDlgs.r)
  16.  
  17. */
  18.  
  19. // Picture items are used for the merge and embed icons because 32x32 ICONs
  20. // don't work well.  The desired icon size is 19(high)x16(width).  If the
  21. // display item is the desired size, the ICON is scaled.  If the display item
  22. // is 32x32, the ICONs are drawn AFTER their radio buttons and can obscure them,
  23. // even though the radio buttons are later in the item sequence.
  24.  
  25. #define SystemSevenOrBetter 1            // we want the extended types
  26. #define    SystemSevenOrLater    1            // Types.r uses this variable
  27.  
  28. #define oldTemp        // Needed to use old-style 'dctb' resource
  29. #include "Types.r"
  30. #undef oldTemp        // End of 'dctb' fix
  31.  
  32. #include "SysTypes.r"
  33. #include "DdgDefs.h"
  34.  
  35. #include "LinkDefs.h"
  36.  
  37. #define kDialogHeight    223
  38. #define kDialogWidth    222
  39.  
  40. #define kTopBegin                      7
  41. #define kLeading                      4
  42. #define kLeftBegin                     10
  43.  
  44. #define kLargeToSmallVerticalOffset      1
  45. #define kSmallLineHeight             12
  46. #define kRightStop                    213
  47. #define kBottomStop                    214
  48. #define kStdButtonHeight             20
  49. #define kOkCancelWidth                 60
  50. #define kOkCancelSep                 13
  51. #define kCheckboxHeight                 14
  52. #define kCheckboxWidth                 14
  53. #define kRadioButtonHeight             14
  54. #define kRadioButtonWidth             14
  55. #define kCheckboxVertSep              4
  56. #define kCheckboxHorizSep              4
  57. #define kRadioBtnVertSep              3
  58. #define kRadioBtnHorizSep              4
  59. #define kPopupHeight                 19
  60.  
  61. #define kPasteWithLinkTextTop        kTopBegin+kLargeToSmallVerticalOffset
  62. #define kPasteWithLinkTextLeft        kLeftBegin+kCheckboxWidth+kCheckboxHorizSep
  63. #define kPasteWithLinkTextWidth        78
  64. #define kPasteWithLinkTextRight        kPasteWithLinkTextLeft+kPasteWithLinkTextWidth
  65.  
  66. #define kUpdateLinksTop                kTopBegin+kCheckboxHeight+kLeading
  67. #define kUpdateLinksLeft            kLeftBegin+kCheckboxWidth+kCheckboxHorizSep
  68. #define kUpdateLinksWidth            59
  69.  
  70. #define kAutomaticRadioBtnTop        kTopBegin+kCheckboxHeight+kRadioBtnVertSep
  71. #define kAutomaticRadioBtnLeft        kLeftBegin+kCheckboxWidth+kCheckboxHorizSep+kUpdateLinksWidth+kCheckboxHorizSep
  72. #define kAutomaticTextTop            kAutomaticRadioBtnTop+kLargeToSmallVerticalOffset
  73. #define kAutomaticTextLeft            kAutomaticRadioBtnLeft+kRadioButtonWidth+kRadioBtnHorizSep
  74. #define kAutomaticTextWidth            68
  75. #define kAutomaticTextRight            kAutomaticTextLeft+kAutomaticTextWidth
  76. #define kAutoManRadioBtnSep            1
  77.  
  78. #define kManualRadioBtnTop            kAutomaticRadioBtnTop+kRadioButtonHeight+kAutoManRadioBtnSep
  79. #define kManualRadioBtnLeft            kAutomaticRadioBtnLeft
  80. #define kManualTextTop                kManualRadioBtnTop+kLargeToSmallVerticalOffset
  81. #define kManualTextLeft                kManualRadioBtnLeft+kRadioButtonWidth+kRadioBtnHorizSep
  82. #define kManualTextWidth            46
  83.  
  84. #define kManualTextRight            kManualTextLeft+kManualTextWidth
  85.  
  86. /* #define kHorizSepTop                kManualTextTop+kSmallLineHeight+kLeading */
  87. #define kHorizSepTop                62
  88.  
  89. #define kAtDestTextTop                72
  90.  
  91. #define kMergePictTop                90
  92. #define kMergePictHeight            19
  93. #define kMergePictWidth                16
  94.  
  95. #define kMergeRadioBtnTop            kMergePictTop+2        
  96. #define kMergeRadioBtnLeft            kLeftBegin+kMergePictWidth+kCheckboxHorizSep
  97. #define kMergeTextTop                kMergeRadioBtnTop+kLargeToSmallVerticalOffset
  98. #define kMergeTextLeft                kMergeRadioBtnLeft+kRadioButtonWidth+kRadioBtnHorizSep
  99. #define kMergeTextWidth                100
  100. #define kMergeTextRight                kMergeTextLeft+kMergeTextWidth
  101.  
  102. #define kEmbedPictTop                kMergePictTop+kMergePictHeight+3
  103. #define kEmbedPictHeight            kMergePictHeight
  104. #define kEmbedPictWidth                kMergePictWidth
  105.  
  106. #define kEmbedRadioBtnTop            kEmbedPictTop+2
  107. #define kEmbedRadioBtnLeft            kMergeRadioBtnLeft
  108. #define kEmbedTextTop                kEmbedRadioBtnTop+kLargeToSmallVerticalOffset
  109. #define kEmbedTextLeft                kMergeTextLeft
  110. #define kEmbedTextWidth                51
  111. #define kEmbedTextRight                kEmbedTextLeft+kEmbedTextWidth
  112.  
  113. #define kEmbedPopupTop                kEmbedRadioBtnTop-1
  114. #define kEmbedPopupLeft                kEmbedTextLeft+kEmbedTextWidth
  115.  
  116. #define kKindPopupTop                140
  117. #define kKindPopupLeft                kMergeRadioBtnLeft-2
  118. #define kKindTextWidth                33
  119.  
  120. #define kEditorPopupTop                kKindPopupTop+21
  121. #define kEditorPopupLeft            kMergeRadioBtnLeft-10
  122. #define kEditorTextWidth            41
  123.  
  124.  
  125. //-------------------------------------------------------------------------------------
  126. // Paste As Dialog
  127. //-------------------------------------------------------------------------------------
  128.  
  129. resource 'DLOG' (kPasteAsDlgID, "Paste As", purgeable) {
  130.     {0, 0, kDialogHeight, kDialogWidth},
  131.     movableDBoxProc,
  132.     invisible,
  133.     noGoAway,
  134.     0x0,
  135.     kPasteAsDlgID,
  136.     "Paste As",
  137.     alertPositionParentWindowScreen
  138. };
  139.  
  140. /* Color table for Paste As Dialog */
  141. resource 'dctb' (kPasteAsDlgID, "Paste As", purgeable) {
  142.     0,
  143.     0,
  144.     {
  145.         wContentColor,0xFFFF,0xFFFF,0xFFFF
  146.     }
  147. };
  148.  
  149. /* Item list for Paste As… dialog */
  150. resource 'DITL' (kPasteAsDlgID,  "Paste As", purgeable) {
  151.     {    /* array DITLarray: 23 elements */
  152.         /* [1] */
  153.         { kBottomStop-kStdButtonHeight, 
  154.           kRightStop-kOkCancelWidth, 
  155.           kBottomStop, 
  156.           kRightStop
  157.         },
  158.         Button {
  159.             enabled,
  160.             "Paste"
  161.         },
  162.         /* [2] */
  163.         { kBottomStop-kStdButtonHeight,
  164.           kRightStop-kOkCancelWidth-kOkCancelSep-kOkCancelWidth,
  165.           kBottomStop,
  166.           kRightStop-kOkCancelWidth-kOkCancelSep
  167.         },
  168.         Button {
  169.             enabled,
  170.             "Cancel"
  171.         },
  172.         
  173.         /* [3] Paste with Link checkbox */
  174.         { kTopBegin,
  175.           kLeftBegin,
  176.           kTopBegin+kCheckboxHeight,
  177.           kPasteWithLinkTextRight
  178.         },
  179.         Control {
  180.             enabled,
  181.             kPasteAsCheckboxCtrlID
  182.         },
  183.  
  184.         /* [4] Update Links label (active appearance) */
  185.         { kUpdateLinksTop,
  186.           kUpdateLinksLeft,
  187.           kUpdateLinksTop+kLargeToSmallVerticalOffset+kSmallLineHeight,
  188.           kUpdateLinksLeft+kUpdateLinksWidth
  189.         },
  190.         StaticText {
  191.             disabled,
  192.             "Get Updates:"
  193.         },
  194.  
  195.         /* [5] Update Links label (inactive appearance) */
  196.         { kUpdateLinksTop,
  197.           kUpdateLinksLeft,
  198.           kUpdateLinksTop+kLargeToSmallVerticalOffset+kSmallLineHeight,
  199.           kUpdateLinksLeft+kUpdateLinksWidth
  200.         },
  201.         StaticText {
  202.             disabled,
  203.             "Get Updates:"
  204.         },
  205.  
  206.         /* [6] Automatic update radio button */
  207.         { kAutomaticRadioBtnTop,
  208.           kAutomaticRadioBtnLeft,
  209.           kAutomaticRadioBtnTop + kRadioButtonHeight,
  210.           kAutomaticTextRight
  211.         },
  212.         Control {
  213.             enabled,
  214.             kPasteAsAutoRadioBtnCtrlID
  215.         },
  216.  
  217.         /* [7] Manual update radio button */
  218.         { kManualRadioBtnTop,
  219.           kManualRadioBtnLeft,
  220.           kManualRadioBtnTop + kRadioButtonHeight,
  221.           kManualTextRight
  222.         },
  223.         Control {
  224.             enabled,
  225.             kPasteAsManualRadioBtnCtrlID
  226.         },
  227.  
  228.         /* [8] Horizontal Separator */
  229.         { kHorizSepTop,
  230.           kLeftBegin,
  231.           kHorizSepTop + 1,
  232.           kRightStop
  233.         },
  234.         UserItem {
  235.             enabled
  236.         },
  237.  
  238.         /* [9] At the destination text */
  239.         { kAtDestTextTop,
  240.           kLeftBegin,
  241.           kAtDestTextTop + kSmallLineHeight,
  242.           kRightStop
  243.         },
  244.         StaticText {
  245.             disabled,
  246.             "At the Destination:"
  247.         },
  248.  
  249.         /* [10] Merge Pict */
  250.         { kMergePictTop,
  251.           kLeftBegin,
  252.           kMergePictTop + kMergePictHeight,
  253.           kLeftBegin + kMergePictWidth
  254.         },
  255.         Picture {
  256.             enabled,
  257.             kPasteAsMergePictID
  258.         },
  259.  
  260.         /* [11] User item to disable previous item */
  261.         { 0,0,0,0 },
  262.         UserItem {
  263.             disabled,
  264.         },
  265.  
  266.         /* [12] Merge radio button */
  267.         { kMergeRadioBtnTop,
  268.           kMergeRadioBtnLeft,
  269.           kMergeRadioBtnTop + kRadioButtonHeight,
  270.           kMergeTextRight
  271.         },
  272.         Control {
  273.             enabled,
  274.             kPasteAsMergeRadioBtnCtrlID
  275.         },
  276.  
  277.         /* [13] Embed Pict */
  278.         { kEmbedPictTop,
  279.           kLeftBegin,
  280.           kEmbedPictTop + kEmbedPictHeight,
  281.           kLeftBegin + kEmbedPictWidth
  282.         },
  283.         Picture {
  284.             enabled,
  285.             kPasteAsEmbedPictID
  286.         },
  287.  
  288.         /* [14] User item to disable previous item */
  289.         { 0,0,0,0 },
  290.         UserItem {
  291.             disabled,
  292.         },
  293.  
  294.         /* [15] Embed radio button */
  295.         /* The label of the Embed As radio button overlaps the title of the Embed As popup. */
  296.         /* The radio button item must be before the popup item, so mouse clicks over the */
  297.         /* label are handled by the radio button item, not the popup item. */
  298.         /* Both controls draw the text; this causes problems when the popup is disabled, */
  299.         /* since it will dim the text and the radio button will appear inactive. */
  300.         { kEmbedRadioBtnTop,
  301.           kEmbedRadioBtnLeft,
  302.           kEmbedRadioBtnTop + kRadioButtonHeight,
  303.           kEmbedTextRight
  304.         },
  305.         Control {
  306.             enabled,
  307.             kPasteAsEmbedRadioBtnCtrlID
  308.         },
  309.  
  310.         /* [16] Embed As popup menu */
  311.         { kEmbedPopupTop,
  312.           kEmbedPopupLeft,
  313.           kEmbedPopupTop + kPopupHeight,
  314.           kRightStop
  315.         },
  316.         Control {
  317.             enabled,
  318.             kPasteAsEmbedPopupCntl
  319.         },
  320.  
  321.         /* [17] Kind popup menu */
  322.         { kKindPopupTop,
  323.           kKindPopupLeft,
  324.           kKindPopupTop + kPopupHeight,
  325.           kRightStop
  326.         },
  327.         Control {
  328.             enabled,
  329.             kPasteAsKindPopupCntl
  330.         },
  331.  
  332.         /* [18] Kind label */
  333.         /* Used when the popup is unavailable because selecting a kind is not allowed */
  334.         { kKindPopupTop + 2,
  335.           kKindPopupLeft + 3,
  336.           kKindPopupTop + kSmallLineHeight,
  337.           kKindPopupLeft + 35
  338.         },
  339.         StaticText {
  340.             disabled,
  341.             "Kind:"
  342.         },
  343.  
  344.         /* [19] Current kind */
  345.         /* Used when the popup is unavailable because selecting a kind is not allowed */
  346.         { kKindPopupTop + 2,
  347.           kKindPopupLeft + /* arbitrary */ 47,
  348.           kKindPopupTop + kPopupHeight,
  349.           kRightStop
  350.         },
  351.         StaticText {
  352.             disabled,
  353.             ""
  354.         },
  355.  
  356.         /* [20] Editor popup menu */
  357.         { kEditorPopupTop,
  358.           kEditorPopupLeft,
  359.           kEditorPopupTop + kPopupHeight,
  360.           kRightStop
  361.         },
  362.         Control {
  363.             enabled,
  364.             kPasteAsEditorPopupCntl
  365.         },
  366.  
  367.         /* [21] Editor label */
  368.         /* Used when the popup is unavailable because selecting a Editor is not allowed */
  369.         { kEditorPopupTop + 2,
  370.           kEditorPopupLeft + 3,
  371.           kEditorPopupTop + kSmallLineHeight,
  372.           kEditorPopupLeft + 38
  373.         },
  374.         StaticText {
  375.             disabled,
  376.             "Editor:"
  377.         },
  378.  
  379.         /* [22] Current Editor */
  380.         /* Used when the popup is unavailable because selecting a Editor is not allowed */
  381.         { kEditorPopupTop + 2,
  382.           kEditorPopupLeft + 55,
  383.           kEditorPopupTop + kPopupHeight,
  384.           kRightStop
  385.         },
  386.         StaticText {
  387.             disabled,
  388.             "Unknown"
  389.         },
  390.  
  391.         /* [23] Embedded Editor */
  392.         /* Used when the popup is unavailable because a frame is being moved */
  393.         { kEditorPopupTop + 2,
  394.           kEditorPopupLeft + 55,
  395.           kEditorPopupTop + kPopupHeight,
  396.           kRightStop
  397.         },
  398.         StaticText {
  399.             disabled,
  400.             "Unknown"
  401.         },
  402.  
  403.         /* [24] Outline around default button */
  404.         { kBottomStop-kStdButtonHeight-1-4, 
  405.           kRightStop-kOkCancelWidth-3-4, 
  406.           kBottomStop-1+4, 
  407.           kRightStop-3+4
  408.         },
  409.         UserItem {
  410.             disabled
  411.         }
  412.         /* [25] */
  413.         /*,{kBottomStop-2-16, 10, kBottomStop-2, 26},
  414.         Control {
  415.             enabled,
  416.             kAppleGuideButton
  417.         }*/
  418.     }
  419. };
  420.  
  421. /* Color table for Paste As Dialog items */
  422. data 'ictb' (kPasteAsDlgID, "Paste As") {
  423.     $"0000 0000" /* [1]  OK button is unaffected                            */
  424.     $"0000 0000" /* [2]  Cancel button is unaffected                        */
  425.     $"0000 0000" /* [3]  Paste with Link checkbox is unaffected                */
  426.     $"0000 0000" /* [4]  Update Links label (enabled) is unaffected            */
  427.     $"4000 0060" /* [5]  Update Links label (disabled) change mode            */
  428.     $"0000 0000" /* [6]  Automatic update radio button is unaffected        */
  429.     $"0000 0000" /* [7]  Manual update radio button is unaffected            */
  430.     $"0000 0000" /* [8]  Horizontal Separator is unaffected                    */
  431.     $"0000 0000" /* [9]  At the destination text is unaffected                */
  432.     $"0000 0000" /* [10] Merge Pict is unaffected                            */
  433.     $"0000 0000" /* [11] User item for disabling is unaffected                */
  434.     $"0000 0000" /* [12] Merge radio button is unaffected                    */
  435.     $"0000 0000" /* [13] Embed Pict is unaffected                            */
  436.     $"0000 0000" /* [14] User item for disabling is unaffected                */
  437.     $"0000 0000" /* [15] Embed radio button is unaffected                    */
  438.     $"0000 0000" /* [16] Embed As popup menu is unaffected                    */
  439.     $"0000 0000" /* [17] Kind popup menu is unaffected                        */
  440.     $"0000 0000" /* [18]                                                     */
  441.     $"0000 0000" /* [19]                                                     */
  442.     $"0000 0000" /* [20]                                                     */
  443.     $"0000 0000" /* [21]                                                     */
  444.     $"0000 0000" /* [22]                                                     */
  445.     $"0000 0000" /* [23]                                                     */
  446.     $"0000 0000" /* [24]                                                     */
  447.     /* Text style record */
  448.     $"0003 0100 000A"      /* Geneva, Bold, 10 */
  449.     $"0000 0000 0000"      /* fore color       */
  450.     $"0000 0000 0000"      /* back color       */
  451.     $"0031"                /* mode = grayishTextOr = 49 */
  452. };
  453.  
  454. /* Window font for Paste As Dialog items */
  455. resource 'finf' (kPasteAsDlgID, purgeable) {
  456.     {
  457.         3,            /* Font Number, 3 = Geneva    */
  458.         plain,        /*         Font Style        */
  459.         10            /*         Font Size        */
  460.     }
  461. };
  462.  
  463. resource 'CNTL' (kPasteAsCheckboxCtrlID, purgeable) {
  464.         { kTopBegin,
  465.           kLeftBegin,
  466.           kTopBegin+kCheckboxHeight,
  467.           kPasteWithLinkTextRight
  468.         },
  469.         0,
  470.         visible,
  471.         1,
  472.         0,
  473.         checkboxProcUseWFont,
  474.         0,                            /* Refcon */
  475.         "Paste with Link"
  476. };
  477.  
  478. resource 'CNTL' (kPasteAsAutoRadioBtnCtrlID, purgeable) {
  479.         { kAutomaticRadioBtnTop,
  480.           kAutomaticRadioBtnLeft,
  481.           kAutomaticRadioBtnTop + kRadioButtonHeight,
  482.           kAutomaticTextRight
  483.         },
  484.         0,
  485.         visible,
  486.         1,
  487.         0,
  488.         radioButProcUseWFont,
  489.         0,                            /* Refcon */
  490.         "Automatically"
  491. };
  492.  
  493. resource 'CNTL' (kPasteAsManualRadioBtnCtrlID, purgeable) {
  494.         { kManualRadioBtnTop,
  495.           kManualRadioBtnLeft,
  496.           kManualRadioBtnTop + kRadioButtonHeight,
  497.           kManualTextRight
  498.         },
  499.         0,
  500.         visible,
  501.         1,
  502.         0,
  503.         radioButProcUseWFont,
  504.         0,                            /* Refcon */
  505.         "Manually"
  506. };
  507.  
  508. resource 'CNTL' (kPasteAsMergeRadioBtnCtrlID, purgeable) {
  509.         { kMergeRadioBtnTop,
  510.           kMergeRadioBtnLeft,
  511.           kMergeRadioBtnTop + kRadioButtonHeight,
  512.           kMergeTextRight
  513.         },
  514.         0,
  515.         visible,
  516.         1,
  517.         0,
  518.         radioButProcUseWFont,
  519.         0,                            /* Refcon */
  520.         "Merge with Contents"
  521. };
  522.  
  523. resource 'CNTL' (kPasteAsEmbedRadioBtnCtrlID, purgeable) {
  524.         { kEmbedRadioBtnTop,
  525.           kEmbedRadioBtnLeft,
  526.           kEmbedRadioBtnTop + kRadioButtonHeight,
  527.           kEmbedTextRight
  528.         },
  529.         0,
  530.         visible,
  531.         1,
  532.         0,
  533.         radioButProcUseWFont,
  534.         0,                            /* Refcon */
  535.         "Embed as:"
  536. };
  537.  
  538. resource 'PICT' (kPasteAsMergePictID, "Merge Icon", purgeable) {
  539.     97,
  540.     {0, 0, 19, 16},
  541.     $"1101 A000 8201 000A 0000 0000 0020 0020"
  542.     $"9000 0200 0000 0000 1300 1000 0000 0000"
  543.     $"1300 1000 0000 0000 1300 1000 00FF FF80"
  544.     $"0180 0192 4980 0180 0193 F980 0180 019F"
  545.     $"F980 0180 019F C980 0180 0192 4980 0180"
  546.     $"01FF FFA0 0083 FF"
  547. };
  548.  
  549. resource 'PICT' (kPasteAsEmbedPictID, "Embed Icon", purgeable) {
  550.     97,
  551.     {0, 0, 19, 16},
  552.     $"1101 A000 8201 000A 0000 0000 0020 0020"
  553.     $"9000 0200 0000 0000 1300 1000 0000 0000"
  554.     $"1300 1000 0000 0000 1300 1000 00FF FF80"
  555.     $"0180 0192 4980 0180 0193 F982 0982 0992"
  556.     $"0982 0982 0993 F980 0180 0192 4980 0180"
  557.     $"01FF FFA0 0083 FF"
  558. };
  559.  
  560. // The "Embed as" popup has no title, because the radio button label occupies the
  561. // same space.  If the radio button isn't selected, the popup is disabled.  If the
  562. // popup had a title which exactly overlayed the radio button label, the title
  563. // would be dimmed and the radio button would appear disabled.
  564. resource 'CNTL' (kPasteAsEmbedPopupCntl, "Embed as", purgeable) {
  565.         { kEmbedPopupTop,
  566.           kEmbedPopupLeft,
  567.           kEmbedPopupTop + kPopupHeight,
  568.           kRightStop
  569.         },
  570.         popupTitleLeftJust,
  571.         visible,
  572.         0,                            /* zero width title; radio button provides title */
  573.         kPasteAsEmbedPopupMenu,        /* resource id of MENU resource */
  574.         popupMenuCDEFproc+popupUseWFont+popupFixedWidth,
  575.         0,                            /* Refcon */
  576.         ""
  577. };
  578.  
  579. resource 'CNTL' (kPasteAsKindPopupCntl, "Kind", purgeable) {
  580.         { kKindPopupTop,
  581.           kKindPopupLeft,
  582.           kKindPopupTop + kPopupHeight,
  583.           kRightStop
  584.         },
  585.         popupTitleLeftJust,
  586.         visible,
  587.         kKindTextWidth,                /* width of title in pixels     */
  588.         kPasteAsKindPopupMenu,        /* resource id of MENU resource */
  589.         popupMenuCDEFproc+popupUseWFont+popupFixedWidth,
  590.         0,                            /* Refcon */
  591.         "Kind:"
  592. };
  593.  
  594. resource 'CNTL' (kPasteAsEditorPopupCntl,"Editor", purgeable) {
  595.         { kEditorPopupTop,
  596.           kEditorPopupLeft,
  597.           kEditorPopupTop + kPopupHeight,
  598.           kRightStop
  599.         },
  600.         popupTitleLeftJust,
  601.         visible,
  602.         kEditorTextWidth,                /* width of title in pixels     */
  603.         kPasteAsEditorPopupMenu,        /* resource id of MENU resource */
  604.         popupMenuCDEFproc+popupUseWFont+popupFixedWidth,
  605.         0,                            /* Refcon */
  606.         "Editor:"
  607. };
  608.  
  609. resource 'MENU' (kPasteAsEmbedPopupMenu, "Embed as", nonpurgeable) {    // 'MENU' resources must not be purgeable [cc]
  610.     kPasteAsEmbedPopupMenu,
  611.     textMenuProc,
  612.     allEnabled,
  613.     enabled,
  614.     "",
  615.     {    /* array: 4 elements */
  616.         "Frame", noIcon, noKey, noMark, plain,
  617.         "Large Icon", noIcon, noKey, noMark, plain,
  618.         "Small Icon", noIcon, noKey, noMark, plain,
  619.         "Thumbnail", noIcon, noKey, noMark, plain
  620.     }
  621. };
  622.  
  623. resource 'MENU' (kPasteAsKindPopupMenu, "Kind", nonpurgeable) {
  624.     kPasteAsKindPopupMenu,
  625.     textMenuProc,
  626.     allEnabled,
  627.     enabled,
  628.     "",
  629.     {    /* array: 1 elements */
  630.         "Translate to…", noIcon, noKey, noMark, italic
  631.     }
  632. };
  633.  
  634. resource 'MENU' (kPasteAsEditorPopupMenu, "Editor", nonpurgeable) {
  635.     kPasteAsEditorPopupMenu,
  636.     textMenuProc,
  637.     allEnabled,
  638.     enabled,
  639.     "",
  640.     {    /* array: 0 elements */
  641.         "<Your editor goes here>", noIcon, noKey, noMark, plain
  642.     }
  643. };
  644.  
  645. //-------------------------------------------------------------------------------------
  646. // Link Source Info Dialog
  647. //-------------------------------------------------------------------------------------
  648.  
  649. #define kLinkDlgLabelRight 87
  650. #define kLinkDlgInfoLeft   97
  651. #define kLinkDlgInfoRight  256
  652.  
  653. resource 'DLOG' (kLinkSrcInfoDlgID, "Link Source Info", purgeable) {
  654.     {74, 114, 235, 487},
  655.     movableDBoxProc,
  656.     visible,
  657.     goAway,
  658.     0x0,
  659.     kLinkSrcInfoDlgID,
  660.     "Link Source Info",
  661.     alertPositionParentWindowScreen
  662. };
  663.  
  664. resource 'DITL' (kLinkSrcInfoDlgID, "Link Source Info", purgeable) {
  665.     {    /* array DITLarray: 16 elements */
  666.         /* [1] kLinkSrcOKBtn */
  667.         {131, 268, 151, 359},
  668.         Button {
  669.             enabled,
  670.             "OK"
  671.         },
  672.         /* [2] kLinkSrcCancelBtn */
  673.         {100, 264, 120, 363},
  674.         Button {
  675.             enabled,
  676.             "Cancel"
  677.         },
  678.         /* [3] Outline around default button */
  679.         { 131-1-4, 268-3-4, 151-1+4, 359-3+4},
  680.         UserItem {
  681.             disabled
  682.         },
  683.         /* [4] kLinkSrcSeparator */
  684.         {76, 264, 77, 363},
  685.         UserItem {
  686.             disabled
  687.         },
  688.         /* [5] NOT USED IN THIS DIALOG; used as a placeholder to keep item numbers
  689.          *                              the same between LinkSrc and LinkDst
  690.          */
  691.         {0, 0, 0, 0},
  692.         Button {
  693.             enabled,
  694.             "Find Source"
  695.         },
  696.         /* [6] kLinkSrcUpdateBtn */
  697.         {34, 264, 54, 363},
  698.         Button {
  699.             enabled,
  700.             "Update Now"
  701.         },
  702.         /* [7] kLinkSrcBreakLinkBtn */
  703.         {7, 264, 27, 363},
  704.         Button {
  705.             enabled,
  706.             "Break Link"
  707.         },
  708.         /* [8] kLinkSrcManualRadioBtn */
  709.         {87, kLinkDlgInfoLeft-3, 102, 172},
  710.         Control {
  711.             enabled,
  712.             kManualRadioBtnCtrlID
  713.         },
  714.         /* [9] kLinkSrcOnSaveRadioBtn */
  715.         {71, kLinkDlgInfoLeft-3, 86, 172},
  716.         Control {
  717.             enabled,
  718.             kOnSaveRadioBtnCtrlID
  719.         },
  720.         /* [10] */
  721.         {71, 8, 87, kLinkDlgLabelRight+1},
  722.         StaticText {
  723.             disabled,
  724.             "Send Updates:"
  725.         },
  726.         /* [11] Modified Date */
  727.         {50, kLinkDlgInfoLeft, 66, kLinkDlgInfoRight},
  728.         StaticText {
  729.             disabled,
  730.             "^2  ^3"
  731.         },
  732.         /* [12] Modified Label */
  733.         {50, 38, 66, kLinkDlgLabelRight},
  734.         StaticText {
  735.             disabled,
  736.             "Updated:"
  737.         },
  738.         /* [13] Creation Date */
  739.         {29, kLinkDlgInfoLeft, 45, kLinkDlgInfoRight},
  740.         StaticText {
  741.             disabled,
  742.             "^0  ^1"
  743.         },
  744.         /* [14] Created Label */
  745.         {29, 39, 45, kLinkDlgLabelRight},
  746.         StaticText {
  747.             disabled,
  748.             "Created:"
  749.         },
  750.         /* [15] Kind */
  751.         {8, kLinkDlgInfoLeft, 24, kLinkDlgInfoRight},
  752.         StaticText {
  753.             disabled,
  754.             "Unknown"
  755.         },
  756.         /* [16] Kind Label */
  757.         {8, 56, 24, kLinkDlgLabelRight},
  758.         StaticText {
  759.             disabled,
  760.             "Kind:"
  761.         }
  762.         /* [17] */
  763.         /*,{151 - 16, 10, 151, 26},
  764.         Control {
  765.             enabled,
  766.             kAppleGuideButton
  767.         }*/
  768.     }
  769. };
  770.  
  771. resource 'dctb' (kLinkSrcInfoDlgID, purgeable) {
  772.     0,
  773.     0,
  774.     {
  775.         wContentColor,0xFFFF,0xFFFF,0xFFFF
  776.     }
  777. };
  778.  
  779. data 'ictb' (kLinkSrcInfoDlgID, purgeable) {
  780.     $"0000 0000" /* [1]  */
  781.     $"0000 0000" /* [2]  */
  782.     $"0000 0000" /* [3]  */
  783.     $"0000 0000" /* [4]  */
  784.     $"0000 0000" /* [5]  */
  785.     $"0000 0000" /* [6]  */
  786.     $"0000 0000" /* [7]  */
  787.     $"0000 0000" /* [8]  */
  788.     $"0000 0000" /* [9]  */
  789.     $"0002 0040" /* [10] Static text label is Geneva 10 bold */
  790.     $"0000 0000" /* [11] */
  791.     $"0002 0040" /* [12] Static text label is Geneva 10 bold */
  792.     $"0000 0000" /* [13] */
  793.     $"0002 0040" /* [14] Static text label is Geneva 10 bold */
  794.     $"0000 0000" /* [15] */
  795.     $"0002 0040" /* [16] Static text label is Geneva 10 bold */
  796.     /* Text style record */
  797.     $"0001 0100 000A"      /* application font, Bold (high byte), size 10 */
  798.     $"0000 0000 0000"      /* fore color        */
  799.     $"0000 0000 0000 0000" /* back color + mode */
  800. };
  801.  
  802. resource 'finf' (kLinkSrcInfoDlgID, purgeable) {
  803.     {
  804.         3,            /* Font Number, 3 = Geneva    */
  805.         plain,        /*         Font Style        */
  806.         10            /*         Font Size        */
  807.     }
  808. };
  809. //-------------------------------------------------------------------------------------
  810. // Link Destination Info Dialog
  811. //-------------------------------------------------------------------------------------
  812.  
  813. resource 'DLOG' (kLinkDstInfoDlgID, "Link Destination Info", purgeable) {
  814.     {74, 114, 235, 487},
  815.     movableDBoxProc,
  816.     visible,
  817.     goAway,
  818.     0x0,
  819.     kLinkDstInfoDlgID,
  820.     "Link Destination Info",
  821.     alertPositionParentWindowScreen
  822. };
  823.  
  824. resource 'DITL' (kLinkDstInfoDlgID, "Link Destination Info", purgeable) {
  825.     {    /* array DITLarray: 16 elements */
  826.         /* [1] kLinkDstOKBtn */
  827.         {131, 268, 151, 359},
  828.         Button {
  829.             enabled,
  830.             "OK"
  831.         },
  832.         /* [2] kLinkDstCancelBtn */
  833.         {100, 264, 120, 363},
  834.         Button {
  835.             enabled,
  836.             "Cancel"
  837.         },
  838.         /* [3] Outline around default button */
  839.         { 131-1-4, 268-3-4, 151-1+4, 359-3+4},
  840.         UserItem {
  841.             disabled
  842.         },
  843.         /* [4] kLinkDstSeparator */
  844.         {90, 264, 91, 363},
  845.         UserItem {
  846.             disabled
  847.         },
  848.         /* [5] kLinkDstFindSrcBtn */
  849.         {61, 264, 81, 363},
  850.         Button {
  851.             enabled,
  852.             "Find Source"
  853.         },
  854.         /* [6] kLinkDstUpdateBtn */
  855.         {34, 264, 54, 363},
  856.         Button {
  857.             enabled,
  858.             "Update Now"
  859.         },
  860.         /* [7] kLinkDstBreakLinkBtn */
  861.         {7, 264, 27, 363},
  862.         Button {
  863.             enabled,
  864.             "Break Link"
  865.         },
  866.         /* [8] kLinkDstManualRadioBtn */
  867.         {87, kLinkDlgInfoLeft-3, 102, 172},
  868.         Control {
  869.             enabled,
  870.             kManualRadioBtnCtrlID
  871.         },
  872.         /* [9] kLinkDstAutoRadioBtn */
  873.         {71, kLinkDlgInfoLeft-3, 86, 192},
  874.         Control {
  875.             enabled,
  876.             kAutomaticRadioBtnCtrlID
  877.         },
  878.         /* [10] */
  879.         {71, 16, 87, kLinkDlgLabelRight},
  880.         StaticText {
  881.             disabled,
  882.             "Get Updates:"
  883.         },
  884.         /* [11] Modified Date */
  885.         {50, kLinkDlgInfoLeft, 66, kLinkDlgInfoRight},
  886.         StaticText {
  887.             disabled,
  888.             "^2  ^3"
  889.         },
  890.         /* [12] Modified Label */
  891.         {50, 38, 66, kLinkDlgLabelRight},
  892.         StaticText {
  893.             disabled,
  894.             "Updated:"
  895.         },
  896.         /* [13] Creation Date */
  897.         {29, kLinkDlgInfoLeft, 45, kLinkDlgInfoRight},
  898.         StaticText {
  899.             disabled,
  900.             "^0  ^1"
  901.         },
  902.         /* [14] Created Label */
  903.         {29, 39, 45, kLinkDlgLabelRight},
  904.         StaticText {
  905.             disabled,
  906.             "Created:"
  907.         },
  908.         /* [15] Kind */
  909.         {8, kLinkDlgInfoLeft, 24, kLinkDlgInfoRight},
  910.         StaticText {
  911.             disabled,
  912.             "Unknown"
  913.         },
  914.         /* [16] Kind Label */
  915.         {8, 56, 24, kLinkDlgLabelRight},
  916.         StaticText {
  917.             disabled,
  918.             "Kind:"
  919.         }
  920.         /* [17] */
  921.         /*,{151 - 16, 10, 151, 26},
  922.         Control {
  923.             enabled,
  924.             kAppleGuideButton
  925.         }*/
  926.     }
  927. };
  928.  
  929. resource 'dctb' (kLinkDstInfoDlgID, purgeable) {
  930.     0,
  931.     0,
  932.     {
  933.         wContentColor,0xFFFF,0xFFFF,0xFFFF
  934.     }
  935. };
  936.  
  937. data 'ictb' (kLinkDstInfoDlgID) {
  938.     $"0000 0000" /* [1]  */
  939.     $"0000 0000" /* [2]  */
  940.     $"0000 0000" /* [3]  */
  941.     $"0000 0000" /* [4]  */
  942.     $"0000 0000" /* [5]  */
  943.     $"0000 0000" /* [6]  */
  944.     $"0000 0000" /* [7]  */
  945.     $"0000 0000" /* [8]  */
  946.     $"0000 0000" /* [9]  */
  947.     $"0002 0040" /* [10] Static text label is Geneva 10 bold */
  948.     $"0000 0000" /* [11] */
  949.     $"0002 0040" /* [12] Static text label is Geneva 10 bold */
  950.     $"0000 0000" /* [13] */
  951.     $"0002 0040" /* [14] Static text label is Geneva 10 bold */
  952.     $"0000 0000" /* [15] */
  953.     $"0002 0040" /* [16] Static text label is Geneva 10 bold */
  954.     /* Text style record */
  955.     $"0001 0100 000A"      /* application font, Bold (high byte), size 10 */
  956.     $"0000 0000 0000"      /* fore color        */
  957.     $"0000 0000 0000 0000" /* back color + mode */
  958. };
  959.  
  960. resource 'finf' (kLinkDstInfoDlgID, purgeable) {
  961.     {
  962.         3,            /* Font Number, 3 = Geneva    */
  963.         plain,        /*         Font Style        */
  964.         10            /*         Font Size        */
  965.     }
  966. };
  967.  
  968. resource 'CNTL' (kAutomaticRadioBtnCtrlID, purgeable) {
  969.         {90, kLinkDlgInfoLeft-3, 105, 192},
  970.         0,
  971.         visible,
  972.         1,
  973.         0,
  974.         radioButProcUseWFont,
  975.         0,                            /* Refcon */
  976.         "Automatically"
  977. };
  978.  
  979. resource 'CNTL' (kOnSaveRadioBtnCtrlID, purgeable) {
  980.         {90, kLinkDlgInfoLeft-3, 105, 172},
  981.         0,
  982.         visible,
  983.         1,
  984.         0,
  985.         radioButProcUseWFont,
  986.         0,                            /* Refcon */
  987.         "On Save"
  988. };
  989.  
  990. resource 'CNTL' (kManualRadioBtnCtrlID, purgeable) {
  991.         {106, kLinkDlgInfoLeft-3, 121, 172},
  992.         0,
  993.         visible,
  994.         1,
  995.         0,
  996.         radioButProcUseWFont,
  997.         0,                            /* Refcon */
  998.         "Manually"
  999. };
  1000.  
  1001. //-------------------------------------------------------------------------------------
  1002. // Link Update Alert
  1003. //-------------------------------------------------------------------------------------
  1004.  
  1005. #define kLinkUpdateTextLines 5
  1006. #define kLinkUpdateTextLineHeight 16
  1007. #define kLinkUpdateTextHeight kLinkUpdateTextLines*kLinkUpdateTextLineHeight
  1008. #define kLinkUpdateLeft 78
  1009. #define kLinkUpdateTextWidth 245
  1010. #define kLinkUpdateRight kLinkUpdateLeft+kLinkUpdateTextWidth
  1011. #define kLinkUpdateBtnTop 13+kLinkUpdateTextHeight+13
  1012. #define kLinkUpdateBtnBottom kLinkUpdateBtnTop+20
  1013. #define kLinkUpdateBtnWidth 70
  1014. #define kLinkUpdateContinueBtnLeft kLinkUpdateRight-kLinkUpdateBtnWidth
  1015. #define kLinkUpdateStopBtnLeft kLinkUpdateRight-kLinkUpdateBtnWidth-13-kLinkUpdateBtnWidth
  1016.  
  1017. resource 'ALRT' (kLinkUpdateAlertID, "Link Update", purgeable) {
  1018.     {0, 0, kLinkUpdateBtnBottom+13, kLinkUpdateRight+13},
  1019.     kLinkUpdateAlertID,
  1020.     {    /* array: 4 elements */
  1021.         /* [1] */
  1022.         Ok, visible, sound1,
  1023.         /* [2] */
  1024.         Ok, visible, sound1,
  1025.         /* [3] */
  1026.         Ok, visible, sound1,
  1027.         /* [4] */
  1028.         Ok, visible, sound1
  1029.     },
  1030.     alertPositionParentWindowScreen
  1031. };
  1032.  
  1033. resource 'DITL' (kLinkUpdateAlertID, "Link Update", purgeable) {
  1034.     {    /* array DITLarray: 4 elements */
  1035.         /* [1] */
  1036.         {kLinkUpdateBtnTop, kLinkUpdateContinueBtnLeft, kLinkUpdateBtnBottom, kLinkUpdateRight},
  1037.         Button {
  1038.             enabled,
  1039.             "Update"
  1040.         },
  1041.         /* [2] */
  1042.         {kLinkUpdateBtnTop, kLinkUpdateStopBtnLeft, kLinkUpdateBtnBottom, kLinkUpdateStopBtnLeft+kLinkUpdateBtnWidth},
  1043.         Button {
  1044.             enabled,
  1045.             "Stop"
  1046.         },
  1047.         /* [3] */
  1048.         {13, 23, 45, 55},
  1049.         Icon {
  1050.             disabled,
  1051.             2
  1052.         },
  1053.         /* [4] */
  1054.         {13, kLinkUpdateLeft, 13+kLinkUpdateTextHeight, kLinkUpdateRight},
  1055.         StaticText {
  1056.             disabled,
  1057.             "Editing a link source has caused an update loop.\n"
  1058.             "\n"
  1059.             "Press Stop to interrupt updating, or press "
  1060.             "Update to continue."
  1061.         }
  1062.     }
  1063. };
  1064.  
  1065. //-------------------------------------------------------------------------------------
  1066. // Link Status Alert
  1067. //-------------------------------------------------------------------------------------
  1068.  
  1069. #define kLinkStatusTextLines 6
  1070. #define kLinkStatusTextLineHeight 16
  1071. #define kLinkStatusTextHeight kLinkStatusTextLines*kLinkStatusTextLineHeight
  1072. #define kLinkStatusLeft 78
  1073. #define kLinkStatusTextWidth 245
  1074. #define kLinkStatusRight kLinkStatusLeft+kLinkStatusTextWidth
  1075. #define kLinkStatusBtnTop 13+kLinkStatusTextHeight+13
  1076. #define kLinkStatusBtnBottom kLinkStatusBtnTop+20
  1077. #define kLinkStatusBtnWidth 70
  1078. #define kLinkStatusOKBtnLeft kLinkStatusRight-kLinkStatusBtnWidth
  1079.  
  1080. resource 'ALRT' (kLinkStatusAlertID, "Link Status", purgeable) {
  1081.     {0, 0, kLinkStatusBtnBottom+13, kLinkStatusRight+13},
  1082.     kLinkStatusAlertID,
  1083.     {    /* array: 4 elements */
  1084.         /* [1] */
  1085.         Ok, visible, sound1,
  1086.         /* [2] */
  1087.         Ok, visible, sound1,
  1088.         /* [3] */
  1089.         Ok, visible, sound1,
  1090.         /* [4] */
  1091.         Ok, visible, sound1
  1092.     },
  1093.     alertPositionParentWindowScreen
  1094. };
  1095.  
  1096. resource 'DITL' (kLinkStatusAlertID, "Link Status", purgeable) {
  1097.     {    /* array DITLarray: 3 elements */
  1098.         /* [1] */
  1099.         {kLinkStatusBtnTop, kLinkStatusOKBtnLeft, kLinkStatusBtnBottom, kLinkStatusRight},
  1100.         Button {
  1101.             enabled,
  1102.             "OK"
  1103.         },
  1104.         /* [2] */
  1105.         {13, 23, 45, 55},
  1106.         Icon {
  1107.             disabled,
  1108.             2
  1109.         },
  1110.         /* [3] */
  1111.         {13, kLinkStatusLeft, 13+kLinkStatusTextHeight, kLinkStatusRight},
  1112.         StaticText {
  1113.             disabled,
  1114.             "The link information may not be accurate, "
  1115.             "because a problem was encountered getting information about the "
  1116.             "source of the link.\n"
  1117.             "\n"
  1118.             "(Error ^0)"
  1119.         }
  1120.     }
  1121. };
  1122.  
  1123. //-------------------------------------------------------------------------------------
  1124. // Missing Link Edition Alert
  1125. //-------------------------------------------------------------------------------------
  1126.  
  1127. #define kLinkEditionTextLines 6
  1128. #define kLinkEditionTextLineHeight 16
  1129. #define kLinkEditionTextHeight kLinkEditionTextLines*kLinkEditionTextLineHeight
  1130. #define kLinkEditionLeft 78
  1131. #define kLinkEditionTextWidth 305
  1132. #define kLinkEditionRight kLinkEditionLeft+kLinkEditionTextWidth
  1133. #define kLinkEditionBtnTop 13+kLinkEditionTextHeight+13
  1134. #define kLinkEditionBtnBottom kLinkEditionBtnTop+20
  1135. #define kLinkEditionBtnWidth 70
  1136. #define kLinkEditionOKBtnLeft kLinkEditionRight-kLinkEditionBtnWidth
  1137.  
  1138. resource 'ALRT' (kLinkEditionAlertID, "Link Edition", purgeable) {
  1139.     {0, 0, kLinkEditionBtnBottom+13, kLinkEditionRight+13},
  1140.     kLinkEditionAlertID,
  1141.     {    /* array: 4 elements */
  1142.         /* [1] */
  1143.         Ok, visible, sound1,
  1144.         /* [2] */
  1145.         Ok, visible, sound1,
  1146.         /* [3] */
  1147.         Ok, visible, sound1,
  1148.         /* [4] */
  1149.         Ok, visible, sound1
  1150.     },
  1151.     alertPositionParentWindowScreen
  1152. };
  1153.  
  1154. resource 'DITL' (kLinkEditionAlertID, "Link Edition", purgeable) {
  1155.     {    /* array DITLarray: 3 elements */
  1156.         /* [1] */
  1157.         {kLinkEditionBtnTop, kLinkEditionOKBtnLeft, kLinkEditionBtnBottom, kLinkEditionRight},
  1158.         Button {
  1159.             enabled,
  1160.             "OK"
  1161.         },
  1162.         /* [2] */
  1163.         {13, 23, 45, 55},
  1164.         Icon {
  1165.             disabled,
  1166.             2
  1167.         },
  1168.         /* [3] */
  1169.         {13, kLinkEditionLeft, 13+kLinkEditionTextHeight, kLinkEditionRight},
  1170.         StaticText {
  1171.             disabled,
  1172.             "The source of this link could not be found.\n"
  1173.             "\n"
  1174.             "If you have not broken the link at the source, you may be able to "
  1175.             "get a more recent update by opening the document containing "
  1176.             "the source of this link."
  1177.         }
  1178.     }
  1179. };
  1180.  
  1181. //-------------------------------------------------------------------------------------
  1182. // Color pattern used by link dialogs
  1183. //-------------------------------------------------------------------------------------
  1184.  
  1185. data 'ppat' (kLinkDlgsppatID) {
  1186.     $"0001 0000 001C 0000 004E 0000 0000 FFFF"
  1187.     $"0000 0000 AA55 AA55 AA55 AA55 0000 0000"
  1188.     $"8001 0000 0000 0008 0008 0000 0000 0000"
  1189.     $"0000 0048 0000 0048 0000 0000 0001 0001"
  1190.     $"0001 0000 0000 0000 0056 0000 0000 55AA"
  1191.     $"55AA 55AA 55AA 0000 0000 0000 0001 0000"
  1192.     $"7777 7777 7777 0001 8888 8888 8888"
  1193. };
  1194.  
  1195. //-------------------------------------------------------------------------------------
  1196. // Strings used by the Link Manager
  1197. //-------------------------------------------------------------------------------------
  1198.  
  1199. resource 'STR ' (kODLinkMgrCannotShowSourceID, purgeable) {
  1200.     "Cannot show source of link (error ^0)."
  1201. };
  1202.  
  1203. resource 'STR ' (kODLinkMgrEditionTemplateID, purgeable) {
  1204.     "^0 Link ^1"
  1205. };
  1206.  
  1207. //-------------------------------------------------------------------------------------
  1208. // Strings used by Link Info dialogs
  1209. //-------------------------------------------------------------------------------------
  1210.  
  1211. resource 'STR ' (kODLinkInfoStrUnknownID, purgeable) {
  1212.     "Unknown"
  1213. };
  1214.  
  1215. //-------------------------------------------------------------------------------------
  1216. // Strings used by Paste As dialogs
  1217. //-------------------------------------------------------------------------------------
  1218.  
  1219. resource 'STR ' (kODPasteAsNoUserKindID, purgeable) {
  1220.     "Unknown kind<I;"
  1221. };
  1222.